home *** CD-ROM | disk | FTP | other *** search
- /*****************************************************************************
- //
- // Copyright (C) 1991 Texas Instruments Incorporated.
- //
- // Permission is granted to any individual or institution to use, copy, modify,
- // and distribute this software, provided that this complete copyright and
- // permission notice is maintained, intact, in all copies and supporting
- // documentation.
- //
- // Texas Instruments Incorporated provides this software "as is" without
- // express or implied warranty.
- //
- *****************************************************************************
- *
- * Author: Martin Neath
- * Filename: os2.cf
- * $Revision: $ $Date: $
- * Module: build/config
- * Purpose: PISCES project OS/2 configuration file
- * Abstract:
- * - The "project.imk" file contains default values for project
- * commands, variables, and pathnames.
- *
- * - This file contains OS/2-specific values different from the
- * project defaults for UNIX platforms
- *
- * Related Files: site.def, project.imk, imake.imk, imake.rul
- *
- * Creation Date: 06/27/90
- * Changed by\Date\Reason:
- *
- *****************************************************************************/
- #define OSName IBM OS/2 Extended Edition
- #define OS2Platform YES
- #define OSMajorVersion 1
- #define OSMinorVersion 2
- #define SystemV NO
-
- #define HasVoidSignalReturn YES
-
- /*###########################################################################*/
- /*# PISCES System make variables for OS/2 different from defaults are below #*/
- /*###########################################################################*/
-
- #define ProjectLibraryName ICE
- #define FastLibraryName fast##ProjectLibraryName
- #define TestLibraryName test##ProjectLibraryName
- #define FilesToClean *.bak *.out *.i
- #define Shell
- #define SeparatorChar @/
- #define ArCmd par
- #define CplusCmd ccxx
- #define CcCmd cl
- #define LnCmd copy
- #define MvCmd copy
- #define CpCmd copy
- #define ConCatCmd type
- #define RmCmd del
- #define MakeCmd nmake
- #define SystemSpecificProgram exehdr /NEWFILES
- #define RanlibCmd @# No TOC update necessary in OS/2 library
- #define ArchiveAddFlag -+
- #define ArchiveDeleteFlag -+
- #define ArchiveReplaceFlag -+
- #define ArchivePrefix lib
- #define ArchiveSuffix .lib
- #define CPlusSuffix cxx
- #define ObjectSuffix obj
- #define ExecutableSuffix .exe
- #define LibraryDirFlag -L
- #define LibraryFlag -l
- #define RCSDependFlag
- #define HeaderLinkFlag
- #define ImakeCmd pimake
- #define LoopCmd loop
- #define SearchCmd grep
- #define CaseInsensitive -u
- #define StopLabel STOP
- #define InstallCmd copy
- #define InstPgmFlags
- #define InstBinFlags
- #define InstLibFlags
- #define InstIncFlags
-
- #define SmallMemoryModel -AS
- #define MediumMemoryModel -AM
- #define LargeMemoryModel -AL
- #define CompactMemoryModel -AC
- #define HugeMemoryModel -AH
- #define MiscCFlags -AC
-
- #define COptimizeFlag
- #define CPlusOptimizeFlag
- #define DefaultCFlags -G2s -nologo
- #define DefaultCPlusFlags -G2s -Dvolatile=
- #define CFlagsDebug DefaultCFlags -Zi -Zd -Or
- #define CLinkerOptions -G2s -nologo -F 8000
- #define CPlusLinkerOptions -G2s -nologo -F 8000
- #define StandardCPDefines -DDOS
- #define CPlusSysIncDir $(PATHSEP)cxx20$(PATHSEP)include
- #define SysIncDir $(PATHSEP)c600$(PATHSEP)include
-
- #define SystemSpecificFinalize(program) @@\
- sys_spec :: program##$(EXE) @@\
- $(SYS_SPEC) $(PROGRAM)
-
- #define DependCommand() @@\
- $(DEPEND) $(PFLAG)$(PATHSEP) $(ALLCPLUSDEFS) $(ALLCDEFS) \
- $(YACCPRG2) $(LEXPRG2) @<<DPNDFILS @@\
- $(HDRS) $(SRCS) $(YACCSRC) $(LEXSRC) @@\
- <<NOKEEP
-
- #define MakefileSubdirs() @@\
- makefiles :: @@\
- $(LOOP) $(MAKE) mk_only $(SUBDIRS) $(STOP) @@\
- $(LOOP) $(MAKE) checkout $(SUBDIRS) $(STOP) @@\
- $(LOOP) $(MAKE) depends $(SUBDIRS) $(STOP)
-
- #define AllSubdirs() @@\
- all :: @@\
- $(LOOP) $(MAKE) all $(SUBDIRS) $(STOP)
-
- #define BootstrapSubdirs() @@\
- bootstrap :: @@\
- $(LOOP) $(PIMAKE) $(MACHINE) DirName($(TOP)) $(CURVER) DirName($(CONFIG)) $(SUBDIRS) $(STOP) @@\
- $(LOOP) $(MAKE) bootstrap $(SUBDIRS) $(STOP) @@\
- $(LOOP) $(MAKE) mk_only $(SUBDIRS) $(STOP)
-
- #define IncludeSubdirs() @@\
- includes :: @@\
- $(LOOP) $(MAKE) includes $(SUBDIRS) $(STOP)
-
- #define CheckoutSubdirs() @@\
- checkout :: @@\
- $(LOOP) $(MAKE) checkout $(SUBDIRS) $(STOP)
-
- #define ForceCheckoutSubdirs() @@\
- forcecheckout :: @@\
- $(LOOP) $(MAKE) forcecheckout $(SUBDIRS) $(STOP)
-
- #define InstallSubdirs() @@\
- install :: @@\
- $(LOOP) $(MAKE) install $(SUBDIRS) $(STOP)
-
- #define RevupSubdirs() @@\
- revup :: @@\
- $(LOOP) $(MAKE) revup $(SUBDIRS) $(STOP)
-
- #define CleanSubdirs() @@\
- clean :: @@\
- $(LOOP) $(MAKE) clean $(SUBDIRS) $(STOP)
-
- #define FastSubdirs() @@\
- fast :: @@\
- $(LOOP) $(MAKE) fast $(SUBDIRS) $(STOP)
-
- #define ClobberSubdirs() @@\
- clobber :: @@\
- $(LOOP) $(MAKE) clobber $(SUBDIRS) $(STOP)
-
- #define TestSubdirs() @@\
- test :: @@\
- $(LOOP) $(MAKE) unittest $(SUBDIRS) $(STOP)
-
- #define RunTestSubdirs() @@\
- runtest :: @@\
- $(LOOP) $(MAKE) runtest $(SUBDIRS) $(STOP)
-
- #define LibSubdirs() @@\
- makelib :: @@\
- $(LOOP) $(MAKE) makelib $(SUBDIRS) $(STOP)
-
- #define DependSubdirs() @@\
- depends :: depend @@\
- $(LOOP) $(MAKE) depends $(SUBDIRS) $(STOP)
-
- #define ImakeOnlySubdirs() @@\
- mk_only :: @@\
- $(LOOP) $(MAKE) mk_only $(SUBDIRS) $(STOP)
-
- #define ResultsSubdirs() @@\
- results :: @@\
- $(LOOP) $(MAKE) results $(SUBDIRS) $(STOP)
-
- #define SubdirsRule()
-
- #define ShellProgram(program)
-